/*
 * Hidden Equity LLC
 * Author: Maksym Fedyay, Kyiv, mcsimf@gmail.com
 * Date: 29.02.2012
 */

package com.hiddenequity.tips;

public class TipService {
	
	
	public static final String URL_TIP_SERVICE = "http://www.hiddenequity.com/he_adwords_app.asmx/GetTips";
	
	
	
	/*
	 * Build SOAP Header
	 */
	private static String buildHeader(){
		String SOAPHeader = "";
		return SOAPHeader;
	}//buildSOAPEnvelopHeader
	

	/*
	 *Build SOAP Envelope 
	 */
	public static String getTip(){
		String SOAPEnvelope = "<?xml version='1.0' encoding='UTF-8'?>" +
				"<soap12:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' " +
					"xmlns:xsd='http://www.w3.org/2001/XMLSchema' " +
					"xmlns:soap12='http://www.w3.org/2003/05/soap-envelope'>" +
					buildHeader() +
					"<soap12:Body>" +
				    	"<GetTips xmlns='http://www.hiddenequity.com/'/>" +
				    "</soap12:Body>" +
				"</soap12:Envelope>";
		return SOAPEnvelope;
	}//buildSOAPEnvelope
}
